package com.dragon.modules.yuegou.excel.product;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\product\\exportSendVoucherAudit.xlsx")
public class SendVoucherAuditWorkbook {
	@ExcelSheet
	@JsonProperty("发券审核记录")
	private List<CouponRow> coupon;

	public static class CouponRow {

		/** 商户名称 */
		@JsonProperty("商户名称")
		private String merchantName;

		/** 券类型*/
		@JsonProperty("券类型")
		private  String coupTypeName;

		/** 券名称 */
		@JsonProperty("券名称")
		private  String coupName;

		/**
		 * 申请时间
		 */
		@JsonProperty("申请时间")
		private LocalDateTime createTime;

		/**
		 * 有效期
		 */
		@JsonProperty("有效期")
		private LocalDateTime validPeriod;

		/**
		 * 申请数量
		 */
		@JsonProperty("申请数量")
		private Integer applyNum;

		/**
		 * 审核数量
		 */
		@JsonProperty("审核数量")
		private Integer checkNum;

		/**
		 * 作废数量
		 */
		@JsonProperty("作废数量")
		private Integer invalidNum;

		/**
		 * 发放数量
		 */
		@JsonProperty("发放数量")
		private Integer releaseNum;

		/** 状态*/
		@JsonProperty("状态")
		private String checkStatus;

		/** 审核人 */
		@JsonProperty("审核人")
		private String checkByName;

		/** 审核时间 */
		@JsonProperty("审核时间")
		private LocalDateTime checkTime ;

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public String getCoupTypeName() {
			return coupTypeName;
		}

		public void setCoupTypeName(String coupTypeName) {
			this.coupTypeName = coupTypeName;
		}

		public String getCoupName() {
			return coupName;
		}

		public void setCoupName(String coupName) {
			this.coupName = coupName;
		}

		public LocalDateTime getCreateTime() {
			return createTime;
		}

		public void setCreateTime(LocalDateTime createTime) {
			this.createTime = createTime;
		}

		public LocalDateTime getValidPeriod() {
			return validPeriod;
		}

		public void setValidPeriod(LocalDateTime validPeriod) {
			this.validPeriod = validPeriod;
		}

		public Integer getApplyNum() {
			return applyNum;
		}

		public void setApplyNum(Integer applyNum) {
			this.applyNum = applyNum;
		}

		public Integer getCheckNum() {
			return checkNum;
		}

		public void setCheckNum(Integer checkNum) {
			this.checkNum = checkNum;
		}

		public Integer getInvalidNum() {
			return invalidNum;
		}

		public void setInvalidNum(Integer invalidNum) {
			this.invalidNum = invalidNum;
		}

		public Integer getReleaseNum() {
			return releaseNum;
		}

		public void setReleaseNum(Integer releaseNum) {
			this.releaseNum = releaseNum;
		}

		public String getCheckStatus() {
			return checkStatus;
		}

		public void setCheckStatus(String checkStatus) {
			this.checkStatus = checkStatus;
		}

		public String getCheckByName() {
			return checkByName;
		}

		public void setCheckByName(String checkByName) {
			this.checkByName = checkByName;
		}

		public LocalDateTime getCheckTime() {
			return checkTime;
		}

		public void setCheckTime(LocalDateTime checkTime) {
			this.checkTime = checkTime;
		}
	}

	public List<CouponRow> getCoupon() {
		return coupon;
	}

	public void setCoupon(List<CouponRow> coupon) {
		this.coupon = coupon;
	}

}
